﻿@model IEMSOFT.EasyHotel.Admin.Models.PrintDayReportModel
<div id="divPrintDayReportConfirm">
    <table align="center" border="0" style="font-size:10px" width="100%">
        <tbody>
            <tr>
                <td align="center">
                    @Model.FromDate 到 @Model.EndDate 日报表
                </td>
            </tr>
        </tbody>
    </table>
    <table align="center" border="1" rules="all" style="font-size:10px" width="100%">
        <thead>
            <tr>
                <th field="subHotelName">分店</th>
                <th field="billNo">订单号</th>
                <th field="isHourRoomStr">钟点房</th>
                <th field="roomNo">房间</th>
                <th field="customerName">房客姓名</th>
                <th field="travelAgencyName">房客来源</th>
                <th field="roomTypeName">房型</th>
                <th field="checkinDate">入住时间</th>
                <th field="checkoutDate">退房时间</th>
                <th field="totalDaysOrHours">入住(天/小时)</th>
                <th field="priceForDayOrHour">每(天/小时房费)</th>
                <th field="minFeeForHourRoom">钟点房最低房费</th>
                <th field="roomTotalFee">房费</th>
                <th field="consumeFee">消费金额</th>
                <th field="consumeItem">消费项目</th>
                <th field="payTypeName">支付方式</th>
                <th field="createUserFullName">创建者</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model.Bills)
            {
                <tr>
                    <td>
                        @item.SubHotelName
                    </td>
                    <td>
                        @item.BillNo
                    </td>
                    <td>
                        @item.IsHourRoomStr
                    </td>
                    <td>
                        @item.RoomNo
                    </td>
                    <td>
                        @item.CustomerName
                    </td>
                    <td>
                        @item.TravelAgencyName
                    </td>
                    <td>
                        @item.RoomTypeName
                    </td>
                    <td>
                        @item.CheckinDate
                    </td>
                    <td>
                        @item.CheckoutDate
                    </td>
                    <td>
                        @item.TotalDaysOrHours
                    </td>
                    <td>
                        @item.PriceForDayOrHour
                    </td>
                    <td>
                        @item.MinFeeForHourRoomStr
                    </td>
                    <td>
                        @item.RoomTotalFee
                    </td>
                    <td>
                        @item.ConsumeFee
                    </td>
                    <td>
                        @item.ConsumeItem
                    </td>
                    <td>
                        @item.PayTypeName
                    </td>
                    <td>
                        @item.CreateUserFullName
                    </td>
                </tr>
            }
            <tr>
                <td colspan="17">
                    总房费：@Model.RoomFeeSum
                    <br />
                    总消费：@Model.ConsumeFeeSum
                    <br />
                    合计：@Model.TotalFee
                </td>
            </tr>
        </tbody>
    </table>
</div>
